<div class="mini <?=$p->sex?>">
    <a href="<?=$p->url?>" title="<?=$p->name?>">
        <img src="http://<?=COOKIELESS.'/'.$p->photo->mini?>" alt="<?=$p->name?>" />
    </a>
</div>